// Created by amoylel on 18/12/2018.
// Copyright (c) 2018 amoylel All rights reserved.

#ifndef AMO_ANY_DATE_TIME_7D7DCB73_232E_451A_96C4_FE5B53EC7377_HPP__
#define AMO_ANY_DATE_TIME_7D7DCB73_232E_451A_96C4_FE5B53EC7377_HPP__

#include <amo/date_time.hpp>

#include <amo/any/any_type_traits.hpp>

namespace amo {

    template<> struct any_value_type <amo::date_time> {
        static const char value = 43;
    };
    template<>  std::string any_to_string<date_time>(const date_time& val) {
        return val.to_string();
    }
    
    template<>  date_time string_to_any(const std::string& val) {
        return date_time::from_string(val);
    }
}



#endif //AMO_ANY_DATE_TIME_7D7DCB73_232E_451A_96C4_FE5B53EC7377_HPP__